<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!-- Bootstrap 3.3.7 -->
    <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="/static/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="/static/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="/static/css/AdminLTE.css">
    <title>登录</title>
</head>
<body class="hold-transition lockscreen">

<div class="lockscreen-wrapper">
    <div class="lockscreen-logo">
        <a href="#"><b>聊天室</b>1.0</a>
    </div>
    <!-- User name -->
    <div class="lockscreen-name">Welcome you</div>


    <div class="lockscreen-item">

        <div class="lockscreen-image">
            <img src="/static/img/avatar.png" alt="User Image">
        </div>
        <form class="lockscreen-credentials">
            <div class="input-group">
                <input id="username" type="text" class="form-control" placeholder="username">
                <div class="input-group-btn">
                    <button type="button" class="btn" onclick="login(document.getElementById('username').value)"><i class="fa fa-arrow-right text-muted"></i></button>
                </div>
            </div>
        </form>


    </div>
    <div class="help-block text-center">
        输入你的用户名就可进入聊天室
    </div>

</div>
<!-- /.center -->
<!-- jQuery 3 -->
<script src="/static/js/jquery.js"></script>
<!-- Bootstrap 3.3.7 -->
<script src="/static/js/bootstrap.min.js"></script>
<script src="/static/js/websocket.js"></script>
</body>
</html>

